package com.ljc.utils;

import org.springframework.util.DigestUtils;

public class MD5utils {
    private String salts = "yyf123";
    public String getMd5(String code){
        String raw = code+salts;
        return DigestUtils.md5DigestAsHex(raw.getBytes());


    }
}
